package cn.rkylin.oms.warehouseDocking.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 仓库实体类, 对应oms_stor表
 *
 * @author jipengcheng
 * @created 2017年10月17日
 */
public class Stor {
    /**
     * 仓库Id
     */
    private String storId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 删除标记
     */
    private String deleted;

    /**
     * 仓库编码
     */
    private String storCode;

    /**
     * 仓库名称
     */
    private String storName;

    /**
     * 企业Id
     */
    private String entId;

    /**
     * 企业名称
     */
    private String entName;

    /**
     * 电话
     */
    private String tel;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 地址
     */
    private String addr;

    /**
     * 邮编
     */
    private String postCode;

    /**
     * 地区码
     */
    private String areaCode;

    /**
     * 备注
     */
    private String remark;

    /**
     * 奇门货主Id
     */
    private String qmCustomerid;

    /**
     * erp_secretkey
     */
    private String erpSecretkey;

    /**
     * wms_appkey
     */
    private String wmsAppkey;

    /**
     * 奇门货主编码
     */
    private String qmOwnercode;

    /**
     * 省
     */
    private String provName;

    /**
     * 市
     */
    private String cityName;

    /**
     * 区
     */
    private String distName;

    /**
     * 仓库类型(local本地库、ext第三方)
     */
    private String storType;

    /**
     * 仓库模式(qm奇门、normal其他)
     */
    private String storModel;

    /**
     * 默认退货仓库
     */
    private String defaultReturnStor;

    /**
     * 当前项目环境:normal;sandbox
     */
    private String env;

    public String getDefaultReturnStor() {
        return defaultReturnStor;
    }

    public void setDefaultReturnStor(String defaultReturnStor) {
        this.defaultReturnStor = defaultReturnStor;
    }

    public String getProvName() {
        return provName;
    }

    public void setProvName(String provName) {
        this.provName = provName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistName() {
        return distName;
    }

    public void setDistName(String distName) {
        this.distName = distName;
    }

    public String getStorType() {
        return storType;
    }

    public void setStorType(String storType) {
        this.storType = storType;
    }

    public String getStorModel() {
        return storModel;
    }

    public void setStorModel(String storModel) {
        this.storModel = storModel;
    }

    public String getStorId() {
        return storId;
    }

    public void setStorId(String storId) {
        this.storId = storId == null ? null : storId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted == null ? null : deleted.trim();
    }

    public String getStorCode() {
        return storCode;
    }

    public void setStorCode(String storCode) {
        this.storCode = storCode == null ? null : storCode.trim();
    }

    public String getStorName() {
        return storName;
    }

    public void setStorName(String storName) {
        this.storName = storName == null ? null : storName.trim();
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId == null ? null : entId.trim();
    }

    public String getEntName() {
        return entName;
    }

    public void setEntName(String entName) {
        this.entName = entName == null ? null : entName.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr == null ? null : addr.trim();
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode == null ? null : postCode.trim();
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode == null ? null : areaCode.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getQmCustomerid() {
        return qmCustomerid;
    }

    public void setQmCustomerid(String qmCustomerid) {
        this.qmCustomerid = qmCustomerid == null ? null : qmCustomerid.trim();
    }

    public String getErpSecretkey() {
        return erpSecretkey;
    }

    public void setErpSecretkey(String erpSecretkey) {
        this.erpSecretkey = erpSecretkey == null ? null : erpSecretkey.trim();
    }

    public String getWmsAppkey() {
        return wmsAppkey;
    }

    public void setWmsAppkey(String wmsAppkey) {
        this.wmsAppkey = wmsAppkey == null ? null : wmsAppkey.trim();
    }

    public String getQmOwnercode() {
        return qmOwnercode;
    }

    public void setQmOwnercode(String qmOwnercode) {
        this.qmOwnercode = qmOwnercode == null ? null : qmOwnercode.trim();
    }

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }
}
